﻿using System;
using System.Collections.Generic;
using System.Text;
using xiaodingmarket_Domain.Commands.Order;
using xiaodingmarket_Domain_core.Commands;

namespace xiaodingmarket_Domain.Commands.Sell
{
    public class WantAndTobeFriendCommand : Command
    {
        public WantAndTobeFriendCommand(string access_token, Guid friendid, Guid commodityid,Guid studentid)
        {
            this.access_token = access_token;
            this.Sellerid = friendid;
            this.commodityid = commodityid;
            this.wanterid = studentid;
        }

        public string access_token { get; set; }

        public Guid Sellerid { get; set; }
        public Guid commodityid { get; set; }
        public Guid wanterid { get; set; }

        public override bool IsValid()
        {
            return true;
        }
    }
}
